#! /bin/bash

if java -jar Grades.jar 35 35 == "Fail"; then
	echo "Test Passed"
else 
	echo "Test Failed"
fi 

if java -jar Grades.jar 10 55 == "Component Fail"; then 
	echo "Test Passed"
else
	echo "Test Failed"
fi

if java -jar Grades.jar 65 05 == "Component Fail"; then 
	echo "Test Passed"
else
	echo "Test Failed"
fi

if java -jar Grades.jar 60 60 == "Pass"; then
	echo "Test Passed"
else
	echo "Test Failed"
fi

if java -jar Grades.jar 80 80 = "Pass with distinction"; then
	echo "Test Passed"
else
	echo "Test Failed"
fi


